package com.example.sdk.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by roger on 2019/1/8.
 */
@ApiModel("订单信息")
@Data
public class OrderRequest {

    @ApiModelProperty(value = "商户号", required = true)
    private String custNo;

    @ApiModelProperty(value = "参数", required = true)
    private String merchParam;

    @ApiModelProperty(value = "商户订单号", required = true)
    private String merchTradeNo;

    @ApiModelProperty(value = "平台订单号", required = true)
    private String orderNo;

    @ApiModelProperty(value = "金额", required = true)
    private Integer tradeAmt;

    /**
     * 订单状态:00-成功,01,待支付,02-失败,09-处理中,08-关闭
     */
    @ApiModelProperty(value = "状态", required = true)
    private String tradeStatus;

    @ApiModelProperty(value = "时间", required = true)
    private String tradeTime;

    @ApiModelProperty(value = "类型", required = true)
    private String tradeType;
}
